package com.patterns.composite;

/**
 * 查杀图片病毒文件
 * 叶子节点
 * @author huangke
 *
 */
public class PicutreVirus implements AntivirusSoftware{
	private String pictureName;
	
	public PicutreVirus(String pictureName) {
		this.pictureName = pictureName;
	}

	public void killVirus() {
		System.out.println("查杀图片病毒文件:" + pictureName);
	}
}
